package com.watchmen.mini.modules.sys.interceptor;


import org.springframework.beans.factory.annotation.Value;



public class Constants {

    @Value("${redis.tokenTimeout}")
    private static String tokenTimeout;
    /**
     * token有效期（分钟）
     */
    public static final long TOKEN_EXPIRES_MIN = Integer.parseInt(tokenTimeout);

    /**
     * 存放Authorization的header字段
     */
    public static final String AUTHORIZATION = "Authorization";
}
